package demo05_Prototype.model;

import java.io.Serializable;

/**
 * 序列化的方式克隆
 */
public class AddressDeepClone02 implements Serializable {

    private String adressName;

    public AddressDeepClone02(String adressName) {
        this.adressName = adressName;
    }

    public AddressDeepClone02() {
    }
    public String getAdressName() {
        return adressName;
    }

    public void setAdressName(String adressName) {
        this.adressName = adressName;
    }

    @Override
    public String toString() {
        return "AddressDeepClone02{" +
                "adressName='" + adressName + '\'' +
                '}';
    }

}
